package io.renren.sf.dao;

import io.renren.sf.entity.HzCopyingSteleCalligraphyEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2023-05-09 14:41:39
 */
@Mapper
public interface HzCopyingSteleCalligraphyDao extends BaseMapper<HzCopyingSteleCalligraphyEntity> {

    void updateAllRelatedSteleCalligraphyYears(Long oldId, String years, Long id);

    void updateAllRelatedSteleCalligraphyStyle(Long oldId, String style, Long id);

    void updateAllRelatedSteleCalligraphyCalligrapher(Long oldId, String calligrapher, Long id);

    List<HzCopyingSteleCalligraphyEntity> querySteleCalligraphy(Integer curPage, Integer pageSize, String years, String style, String calligrapher, String condition);

    Integer querySteleCalligraphyNum(String years, String style, String calligrapher, String condition);
}
